package com.piccolo.wrapper.client.component.Overlay;

import com.piccolo.wrapper.client.component.PBounds;
import com.piccolo.wrapper.client.component.PCamera;
import com.piccolo.wrapper.client.component.JSNI.PLayerJSNI;

public class PLayerOverlay extends PNodeOverlay
{
	private static PLayerJSNI impl = new PLayerJSNI(); 
	protected PLayerOverlay(){}
	
	public static PNodeOverlay create()
	{
		return impl.create();
	}

	public static PNodeOverlay create(String fillStyle, PBounds bounds) 
	{
		return impl.create(fillStyle, bounds.getOverlay());
	}

	public final void addCamera(PCamera camera) 
	{
		impl.addCamera(this, (PCameraOverlay) camera.getOverlay());
	}

	public final void removeCamera(PCamera camera) 
	{
		impl.removeCamera(this, (PCameraOverlay) camera.getOverlay());
	}
}
